home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0555.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  1.4 KB  |  39 lines

  1.  
  2.  
  3. On Wed, 31 Aug 1994, Ott M. Aaloe wrote:
  4.  
  5. > > wo how about starting a new line once in a while ott! Anyway, the bitmap 
  6. > > structure for blitz is just the object size, there is a pointer in this 
  7. > > object that point to chipmem, be it a screensbitmap your bitmap or a 
  8. > > cludged bitmap. cludgebitmap does not allocate ANY memory, instead uses 
  9. > > withwords*height*bitplanes amount of the memory you supplied
  10. > So if need to cludge bitmap I do next??
  11. > 1. Alooc chip
  12. > 2. Load pure bitmpadata into it
  13. > 3. Cludge bitmap #, addr,x,y etc.
  14. > Now I should have bitmap obkect created by cludgebitmap. Am I right?
  15. >
  16.  
  17. Most of the time you allocate a large bit of memory and cludge ALL your 
  18. bitmaps into it, so you are never freeing them, in skid we have the huge 
  19. scrolling playfield, this memory is also used for all the front end 
  20. bitmaps so the same memory is allocated to more than one bitplane, works 
  21. good if you only use one at a time and we don't have to free and 
  22. initialise bitmaps at all.
  23.  
  24.  > 
  25. > > v1.9 contains decode commands that allow you to incbin sound, shapes etc 
  26. > > into your program and then decode them, although these commands are 
  27. > > accessible in RILibs and Elmore's include library I have decided to 
  28. > > internalise them so that memory usage is both tight and tidy (minimum 
  29. > > requirements and least amount of fragmenting), hmmm, 
  30. > Next question is where can I get V1.9 ;)???
  31.  
  32. It is in w0:Blitz2/m on my A4000!!!
  33.  
  34.